package vip.xiaonuo.sys.fymodule.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 平安分账会员提现
 * </p>
 *
 * @author wangy
 * @since 2025-06-30
 */
@Data
@TableName("sxo_safety_mem_withdrawal")
@Schema(name = "SxoSafetyMemWithdrawal对象", description = "平安分账会员提现")
public class SxoSafetyMemWithdrawal implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "自增id")
    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @Schema(description = "用户ID")
    @TableField("user_id")
    private String userId;

    @Schema(description = "见证子账户的账号")
    @TableField("sub_acct_no")
    private String subAcctNo;

    @Schema(description = "见证子账户的户名")
    @TableField("sub_acct_name")
    private String subAcctName;

    @Schema(description = "交易网会员代码")
    @TableField("tranNet_member_code")
    private String trannetMemberCode;

    @Schema(description = "收款账户的账号")
    @TableField("take_cash_acct_no")
    private String takeCashAcctNo;

    @Schema(description = "收款账户的户名")
    @TableField("take_cash_acct_name")
    private String takeCashAcctName;

    @Schema(description = "币种")
    @TableField("ccy")
    private String ccy;

    @Schema(description = "申请提现的金额")
    @TableField("cash_amt")
    private String cashAmt;

    @Schema(description = "市场收取的手续费")
    @TableField("take_cash_commission")
    private String takeCashCommission;

    @Schema(description = "交易类型(1：提现,2：支付)")
    @TableField("tran_type")
    private String tranType;

    @Schema(description = "提现订单号")
    @TableField("cash_order_no")
    private String cashOrderNo;

    @Schema(description = "提现状态：-1:提现失败；0:提现成功")
    @TableField("cash_status")
    private Integer cashStatus;

    @Schema(description = "提现时间")
    @TableField("cash_time")
    private String cashTime;

    @Schema(description = "交易流水号")
    @TableField("cnsmr_seq_no")
    private String cnsmrSeqNo;

    @Schema(description = "备注")
    @TableField("remark")
    private String remark;

    @Schema(description = "电商见证宝系统生成的流水号")
    @TableField("jzb_accept_seq_no")
    private String jzbAcceptSeqNo;

    @Schema(description = "错误信息")
    @TableField("error_msg")
    private String errorMsg;

    @Schema(description = "删除状态(0:正常；1：删除)")
    @TableField("status")
    private Integer status;

    @Schema(description = "添加时间")
    @TableField("add_time")
    private String addTime;

    @Schema(description = "更新时间")
    @TableField("upd_time")
    private String updTime;
}
